package com.zyz.F_异常.练习2;

/**
 * @author: vick
 * @Date: 2025/3/18
 * @Description:
 * @version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        BankAccount bankAccount = new BankAccount(1000);
        bankAccount.withdraw(1900);
        System.out.println("账户余额为：" + bankAccount.getBalance());

    }
}
